﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web;
using System;

namespace MRO.ClientApplication.AppService.BaiYaApi
{
    public class CarryoverList  
    {
        /// <summary>
        /// 申请人名称
        /// </summary>
        public string ApplyName { get; set; }

        public string OutBillNo { get; set; } = DateTime.Now.ToString("yyyyMMddHHmmssfff");

        public DateTime? InsertTime { get; set; } = DateTime.Now;

        public string AddUser { get; set; } = HttpContext.Current.Session["realname"].ToString();

        public string CustomerOutBillNo { get; set; }

        public List<CarryoverListBody> CarryoverListBodies { get; set; }
    }
    public class CarryoverListBody
    {
        public CarryoverList CarryoverList { get; set; }

        public string CinvAddCode { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }

       
        public string Note { get; set; }

        public int CarryoverListId { get; set; }

        public string Pr_Po { get; set; }

    }
}